<!DOCTYPE html>
<html>

<head>
  <title>View Models - Autodesk Forge</title>
  <meta charset="utf-8" />
  <link rel="shortcut icon" href="https://github.com/Autodesk-Forge/learn.forge.viewmodels/raw/master/img/favicon.ico">

  <!-- Common packages: jQuery, Bootstrap, jsTree -->
  <script src="/jquery.min.js"></script>

  <!-- forge packages -->
  <!-- <link rel="stylesheet" href="https://developer.api.autodesk.com/modelderivative/v2/viewers/7.*/style.min.css"
     /> -->
  <!-- <script src="https://developer.api.autodesk.com/modelderivative/v2/viewers/7.*/viewer3D.min.js"></script> -->
  <link rel="stylesheet" href="/Autodesk-Forge-Viewer_v7.52/style.css" />
  <script src="/Autodesk-Forge-Viewer_v7.52/viewer3D.min.js"></script>

  <!-- nesteviewerExtensions -->
  <link rel="stylesheet" href="/Autodesk-Forge-Viewer_v7.52/extensions/NestedViewerExtension/contents/main.css">
  <script src="/Autodesk-Forge-Viewer_v7.52/extensions/NestedViewerExtension/contents/main.js"></script>

  <!-- this project files -->
  <link href="css/main.css" rel="stylesheet" />
  <!-- <script src="js/OfflineViewerSingle.js">s</script> -->
  <script src="js/OfflineViewer.js"></script>
  <!-- <script src="js/ForgeViewer.js"></script> -->



</head>

<body>
  <div class="fill">
    <!-- <div id="forgeViewer"></div> -->
    <div id="forgeViewer3D"></div>
    <div id="forgeViewer2D"></div>
  </div>

  <script type="text/javascript">

    if ('serviceWorker' in navigator) {
      window.addEventListener('load', () => {
        navigator.serviceWorker.register("/sw.js").then(() => {
          console.log("注册成功");
        }).catch(() => {
          console.log("注册失败");
        });
      });
    }
  </script>

</body>


</html>